package L1;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * 正整数A+B
 */
public class _025 {
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String s = in.readLine();
        String r1 = s.substring(0, s.indexOf(' '));
        String r2 = s.substring(s.indexOf(' ') + 1, s.length());
        String s1 = "", s2 = "", s3 = "";
        int n1 = 0, n2 = 0;
        try {
            int x1 = Integer.parseInt(r1);
            if (x1 < 1 || x1 > 1000) {
                s1 = "?";
                s3 = "?";
            }
            n1 = x1;
        } catch (NumberFormatException e) {
            s1 = "?";
            s3 = "?";
        }
        try {
            int x2 = Integer.parseInt(r2);
            if (x2 < 1 || x2 > 1000) {
                s2 = "?";
                s3 = "?";
            }
            n2 = x2;
        } catch (NumberFormatException e) {
            s2 = "?";
            s3 = "?";
        }
        System.out.print(s1.equals("") ? n1 + " + " : s1 + " + ");
        System.out.print(s2.equals("") ? n2 + " = " : s2 + " = ");
        System.out.println(s3.equals("") ? n1 + n2 : s3);
    }
}
